home *** CD-ROM | disk | FTP | other *** search
RISC OS BBC BASIC V Source | 1993-08-02 | 972 b | 53 lines |
- FilerPatch.Goodies.IconSprite
- (C) Jens H. Ovesen
- $+" at line "+
- "Wimp_Initialise",200,&4b534154,"Filer_Action IconSprites"
- ,myhandle%
- Block% &100
- dir$=""
- "Wimp_Poll",0,Block%
- reason%
- reason%
- 17,18:
-
- Block%!16
- )
- &403: dir$=
- str0(Block%+20)
- I
- &404:
- dir$<>""
- IconSprites(dir$,Block%+20)
- reason%=0
-
- &405: reason%=0
-
- reason%=0
- "Wimp_CloseDown",myhandle%,&4b534154
- str0(p%)
- i%=-1
- :i%+=1:
- p%?i%=0
- p%?i%=13
- IconSprites(d$,p%)
- rest$,leaf$,file$,type%
- rest$=
- str0(p%)
- rest$<>""
- p%=
- rest$," ")
- p%<>0
- leaf$=
- rest$,p%-1)
- rest$=
- rest$,p%+1)
- leaf$=rest$
- rest$=""
- file$=dir$+"."+leaf$
- **
- "OS_File",23,file$
- ,,,,,,type%
- ++
- type%=&ff9
- "IconSprites "+file$
-